imonit_client.php
This is the client-side library required for using the i-mon-it service. There are four files required to be plced on your web servers: 1. imonit_client.php: This is the core requirement holding the logic and required methods 1. imonit_client_lib.php: This is the supporting libary holding som function used by @see imm-mon-it_client.php 1. imonit_client.inc; This is a helperfile, which is loading the client libary and the client side libary into your web application. You would need to load this file into everey of the files and clases you wish to use i-mon-it in.
- imonit.token This is the token file identifying your webappliction. This is personalized for each of your web applications monitored by the i-mon-it service.
This library contains several static functions, which make remote calls to the i-mon-it server.In order to use the i-mon-it micro services you need to include this library and imonit_client_lib.php into every page and class you want to monitor with the i-mon-it service. In order to use the services you need to call the centrali-mon-it Saas micro services. Below you find the explanation how to do this:
Tags
Table of Contents
Classes
Constants
- checktoken = \listener . '/checktoken.php'
- URL for the verifytoken service
- count = \listener . 'count.php'
- URL for the count microservice service.
- end = \listener . 'end.php'
- URL for the end service.
- endpage = \listener . '/endpage.php'
- URL for the endpage service.
- imonit_server = 'server.i-mon-it.de'
- itoken = 'token'
- This is the name of the session variable holding information about the token number used on the website to be monitored.
- itokenfilename = 'imonit.token'
- Name of the local file holding the token information.This file has to be placed in the root directory of your webapplication and one each for each webapplication. Those files are personalized fao our account and the webapplivcation you are monitoring with i-mon-it.
- lastentry = \listener . 'lastentry.php'
- listener = 'http://' . \imonit_server . '/'
- local_server = '.i-mon-it.local'
- mid = \listener . 'mid.php'
- URL for the mid service.
- midpage = \listener . '/midpage.php'
- URL for the midpage service.
- ping = \listener . 'ping.php'
- start = \listener . 'start.php'
- startpage = \listener . 'startpage.php'
- ua = \listener . 'UA.php'
Constants
checktoken
URL for the verifytoken service
public
string
checktoken
= \listener . '/checktoken.php'
URL for the checktoken service
Tags
count
URL for the count microservice service.
public
string
count
= \listener . 'count.php'
URL for the count Service
Tags
end
URL for the end service.
public
string
end
= \listener . 'end.php'
URL for the end Service
Tags
endpage
URL for the endpage service.
public
string
endpage
= \listener . '/endpage.php'
URL for the endpage service
Tags
imonit_server
public
mixed
imonit_server
= 'server.i-mon-it.de'
itoken
This is the name of the session variable holding information about the token number used on the website to be monitored.
public
mixed
itoken
= 'token'
you
itokenfilename
Name of the local file holding the token information.This file has to be placed in the root directory of your webapplication and one each for each webapplication. Those files are personalized fao our account and the webapplivcation you are monitoring with i-mon-it.
public
string
itokenfilename
= 'imonit.token'
Name of the tokenfile holding the correct information.
lastentry
public
mixed
lastentry
= \listener . 'lastentry.php'
listener
public
mixed
listener
= 'http://' . \imonit_server . '/'
local_server
public
mixed
local_server
= '.i-mon-it.local'
mid
URL for the mid service.
public
string
mid
= \listener . 'mid.php'
Urlfor the mid service
Tags
midpage
URL for the midpage service.
public
string
midpage
= \listener . '/midpage.php'
URL for the endpage service
Tags
ping
public
mixed
ping
= \listener . 'ping.php'
start
public
mixed
start
= \listener . 'start.php'
startpage
public
mixed
startpage
= \listener . 'startpage.php'
ua
public
mixed
ua
= \listener . 'UA.php'